<!DOCTYPE html>
<html>
<head>
<title>Daftar Digital Printing</title>
<link href="View/bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="View/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<link  href="View/bootstrap/js/bootstrap.min.js" rel="stylesheet"/>
<script type="text/javascript" src="View/bootstrap/js/jquery-latest.js"></script>
</head>
<?php
include '/content/content_header_user.php';
?>
<body>
<?php
	$conn =mysql_connect("127.0.0.1","root","");
	$db = mysql_select_db("pronsweb",$conn);
	$sql = "select * from user";
	$hasil = mysql_query($sql,$conn);
    $edit = mysql_query("SELECT * FROM user WHERE ID_USER='$_GET[id]'");
    $data = mysql_fetch_array($edit);
		echo "<h2 align=center>Edit Data Member </h2>
          <form method=POST action=updatemember.php>
			<table align=center border=0 cellpadding=10>
				<tr><td>ID_USER          </td><td> : <input type='text' name='ID_USER' value='$data[ID_USER]'></td></tr>
				<tr><td>ID_USERKAT       </td><td> : <input type='text' name='ID_USERKAT' value='$data[ID_USERKAT]'></td></tr>
				<tr><td>PASSWORD         </td><td> : <input type='text' name='PASSWORD' value='$data[PASSWORD]'></td></tr>
				<tr><td>NAMA DEPAN       </td><td> : <input type='text' name='NAMADEPAN' value='$data[NAMADEPAN]'></td></tr>
				<tr><td>NAMA BELAKANG    </td><td> : <input type='text' name='NAMABELAKANG' value='$data[NAMABELAKANG]'></td></tr>
				<tr><td>ALAMAT USER      </td><td> : <input type='text' name='ALAMATUSER' value='$data[ALAMATUSER]'></td></tr>
				<tr><td>NO TELPON USER   </td><td> : <input type='text' name='NOTELPUSER' value='$data[NOTELPUSER]'></td></tr>
				<tr><td>KOTA USER        </td><td> : <input type='text' name='KOTAUSER' value='$data[KOTAUSER]'></td></tr>
				<tr><td>EMAIL USER       </td><td> : <input type='text' name='EMAILUSER' value='$data[EMAILUSER]'></td></tr>
				<tr><td>KODE POS USER    </td><td> : <input type='text' name='KODEPOSUSER' value='$data[KODEPOSUSER]'></td></tr>
				<tr><td></td><td><a href='list_member.php' class='btn btn-primary '>Batal</a>
				<button type='submit' class='btn btn-primary'>Update</button>
			</table></form></h2>";
?>
		  
		
          
         
		  

